package com.muyan.design.factory;

public class StaticFactory {
    public static ISender produceSmsSender() {
        return new SmsSender();
    }

    public static ISender produceMailSender() {
        return new MailSender();
    }

	/*//不常用
    public Sender AProduceSmsSender(){
		return new SmsSender();
	}
	
	public static Sender BProduceMailSender(){
		return new MailSender();
	}
	*/
}
